package it.mbus.bz;


import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.widget.Button;

public class LogReg extends Activity {

	
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_log_reg);
		final Button login = (Button) findViewById(R.id.login);
		final Button registra = (Button) findViewById(R.id.registra);
	        



		login.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent localIntent = new Intent();
	            localIntent.setClass(LogReg.this, Login.class);
	            LogReg.this.startActivity(localIntent);
		
			}
		});
		
		registra.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent localIntent = new Intent();
	            localIntent.setClass(LogReg.this, Register.class);
	            LogReg.this.startActivity(localIntent);
		
			}
		});
	}

}
